home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
WORDMISC
/
FLYDEMON.LZH
/
ASK_DEMO.BAT
next >
Wrap
DOS Batch File
|
2001-01-01
|
458b
|
25 lines
echo off
prompt $h$h
echo 1- morning
echo 2- noon
echo 3- evening
:booboo
ask What time of day is it?
if ERRORLEVEL 4 goto nuts
if ERRORLEVEL 3 goto one
if ERRORLEVEL 2 goto two
if ERRORLEVEL 1 goto get_up
:nuts
echo You're crazy!
goto booboo
:get_up
echo Oh Jesus, I suppose I'd better get up.
goto done
:two
echo Let's do lunch.
goto done
:one
echo How about some dinner?
:done
prompt $t$h$h$h$h$h$h\ $d$h$h$h$h$h $p$_